<?php  
$class = " class=\"active\"";
$classItem = "class=\"current-menu-item\"";
?>


<?php
function curPageName() {
 return substr($_SERVER["SCRIPT_NAME"],strrpos($_SERVER["SCRIPT_NAME"],"/")+1);
}
?>

<?php 
$home = "index.php";
$empresa = "empresa.php";
$servicos = "servicos.php";
$portifolio = "portifolio.php";
$contato = "contato.php";
$clientes = "clientes.php";
?>
	
<div class="container_full">
    	
        <div class="top_section">
    
    	<div class="container">

    		<div id="logo"><a href="./" class="site_logo" <img src="images/logoRocha.png" alt="Oficina Rocha"></a></div>
                
            	
               <nav id="access" class="access" role="navigation">
                <div id="menu" class="menu">
                    
                    <ul id="tiny">

                        <li> <a <?php if ( curPageName() == $home ){ echo $class; } ?> href="./">Home</a></li>  
                        <li><a <?php if ( curPageName() == $empresa ){ echo $class; } ?> href="empresa.php">Empresa</a></li>
                        <li><a <?php if ( curPageName() == $servicos ){ echo $class; } ?> href="servicos.php">Serviços</a></li>
                        <!--li><a <?php if ( curPageName() == $clientes ){ echo $class; } ?> href="clientes.php">Clientes</a></li>
                        <li><a <?php if ( curPageName() == $portifolio ){ echo $class; } ?> href="portifolio.php">Portifolio</a></li-->
                        <li><a <?php if ( curPageName() == $portifolio ){ echo $class; } ?> href="dicas.php">Dicas</a></li> 
                        <li><a  <?php if ( curPageName() == $contato ){ echo $class; } ?>href="contato.php">Contatos</a></li>                          

                    </ul>
                </div>
                
          </nav>
                

		</div> 

	</div>
    
   <div class="top_shadow"></div>

   </div><!-- end top -->
